<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>企业留言功能</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  <script type="text/javascript">
  //编写自定义JS代码
  </script>
 </head>
 <body>
		<t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="shopmessagesController.do?doUpdate" tiptype="6">
					<input id="id" name="id" type="hidden" value="${shopmessagesPage.id }"/>
		<table style="width: 99%;" cellpadding="0" cellspacing="1" class="formtable">
					<%-- <tr>
						<td align="right">
							<label class="Validform_label">
								留言编号:
							</label>
						</td>
						<td class="value">
						    <input id="messid" name="messid" type="text" maxlength="19" style="width: 150px"  datatype="n"  ignore="ignore"  value='${shopmessagesPage.messid}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">留言编号</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								系统编号:
							</label>
						</td>
						<td class="value">
						    <input id="sysid" name="sysid" type="text" maxlength="19" style="width: 150px"  datatype="n"  ignore="ignore"  value='${shopmessagesPage.sysid}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">系统编号</label>
						</td>
					</tr> --%>
					<tr>
						<td align="right">
							<label class="Validform_label">
								留言人编号:
							</label>
						</td>
						<td class="value">
						    <input id="userid" name="userid" type="hidden" maxlength="19" style="width: 150px"  datatype="n"  ignore="ignore" readonly="readonly" value='${shopmessagesPage.userid}'/>
						    <input id="useridname" name="useridname" type="text" maxlength="19" style="width: 150px"  datatype="*"  ignore="ignore" readonly="readonly" value='${shopmessagesPage.useridname}'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">留言人编号</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								留言时间:
							</label>
						</td>
						<td class="value">
									  <input id="messtime" name="messtime" type="text" style="width: 150px"  class="Wdate" onClick="WdatePicker()"  ignore="ignore" readonly="readonly" value='<fmt:formatDate value='${shopmessagesPage.messtime}' type="date" pattern="yyyy-MM-dd"/>'/>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">留言时间</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								留言状态:
							</label>
						</td>
						<td class="value">
							<t:dictSelect field="messstate" type="list"  datatype="*"  typeGroupCode="LYSTATUS"   defaultVal="${shopmessagesPage.messstate}" hasLabel="false"  title="留言状态" ></t:dictSelect>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">留言状态</label>
						</td>
					</tr>
					<tr>
						<td align="right">
							<label class="Validform_label">
								企业编号:
							</label>
						</td>
						<td class="value">
						    <input id="shopid" name="shopid" type="text" style="width: 150px" class="searchbox-inputtext"  datatype="n"  ignore="ignore" readonly="readonly" onclick="popupClick(this,'企业编号','shopid','shops_select1')" value="${shopmessagesPage.shopid}" />
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">企业编号</label>
						</td>
					</tr>
				
					<tr>
						<td align="right">
							<label class="Validform_label">
								留言内容:
							</label>
						</td>
						<td class="value" >
						  	 	<textarea id="messcontent" style="height:auto;width:95%;" rows="6" name="messcontent"  ignore="ignore" >${shopmessagesPage.messcontent}</textarea>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">留言内容</label>
						</td>
					</tr>
			</table>
		</t:formvalid>
 </body>
